set answer1 to build_SOAP_call("http://services.xmethods.net:80/soap/servlet/rpcrouter", "getTraffic", "urn:xmethods-CATraffic", {hwyname:"1"}, "")


on build_SOAP_call(the_endpoint_url, the_method_name, the_method_namespace_URI, the_method_params, the_SOAP_action)
	using terms from application "http://www.apple.com/placebo"
		tell application the_endpoint_url
			set the_result to call soap {method name:the_method_name, method namespace uri:the_method_namespace_URI, parameters:the_method_params, SOAPAction:the_SOAP_action}
		end tell
	end using terms from
end build_SOAP_call
